#include "Common.h"
#include "ExampleGame.h"

int main(int argc, char* argv[])
{
#ifdef _DEBUG
	_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
	_CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_DEBUG);
	_CrtSetDebugFillThreshold(0);
#endif

	ExampleGame* game = new ExampleGame();
	if (game->Init())
	{
		game->Start();
		game->Exit();
	}
	delete game;

	return 0;
}